/*
 * > /*
>  * INSANE - Interactive Structural Analysis Environment
>  *
>  * Copyright (C) 2003-2004
>  * Universidade Federal de Minas Gerais
>  * Escola de Engenharia
>  * Departamento de Engenharia de Estruturas
>  *
>  * Author's email :     insane@dees.ufmg.br
>  * Author's Website :   http://www.dees.ufmg.br/insane
>  *
>  * This program is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU General Public License
>  * as published by the Free Software Foundation; either version 2
>  * of the License, or any later version.
>  *
>  * This program is distributed in the hope that it will be useful,
>  * but WITHOUT ANY WARRANTY; without even the implied warranty of
>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  * GNU General Public License for more details.
>  *
>  * You should have received a copy of the GNU General Public License
>  * along with this program; if not, write to the Free Software
>  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-
> 1307, USA.
 *
 */

package br.ufmg.dees.insane.ui.rich.postp.postp_view;

import java.awt.Color;
import java.io.Serializable;

import br.ufmg.dees.insane.commons.view.ViewState;

/**
 * A class representing the state of the model.
 * @author	Penna, Samuel & Pitangueira, Roque
 * @since   april 2005
 */
public class MeshStateViewState extends ViewState implements Serializable {

    /**   */
	private static final long serialVersionUID = 1L;

	private String xKey = "";
    
    private String yKey = "";
    
    private String zKey = "";
	
    private boolean meshStateOnOff = false;
    private boolean meshOnOff = true;
    
    private Color colorPoints = Color.BLACK;
    
    private Color colorEdges = Color.gray;
    
    private double xScale = 1;
    
    private double yScale = 1;
    
    private double zScale = 1;
    
    
    /**
     * The class constructor 
     */
    public MeshStateViewState() {   
    	
    	
    }
	
	/**
	 * The method return the x.
	 * @return Returns The x.
	 */
	public String getXKey() {
		return xKey;
	}

	/**
	 * The method set the field x from the parameter x.
	 * @param x The x to set.
	 */
	public void setXKey(String x) {
		this.xKey = x;
	}


	/**
	 * The method return the y.
	 * @return Returns The y.
	 */
	public String getYKey() {
		return yKey;
	}


	/**
	 * The method set the field y from the parameter y.
	 * @param y The y to set.
	 */
	public void setYKey(String y) {
		this.yKey = y;
	}


	/**
	 * The method return the isMeshStateOn.
	 * @return Returns The isMeshStateOn.
	 */
	public boolean isMeshStateOnOff() {
		return meshStateOnOff;
	}


	/**
	 * The method set the field isMeshStateOn from the parameter isMeshStateOn.
	 * @param isMeshStateOn The isMeshStateOn to set.
	 */
	public void setMeshStateOnOff(boolean meshStateOnOff) {
		this.meshStateOnOff = meshStateOnOff;
	}


	/**
	 * The method return the colorEdges.
	 * @return Returns The colorEdges.
	 */
	public Color getColorEdges() {
		return colorEdges;
	}


	/**
	 * The method set the field colorEdges from the parameter colorEdges.
	 * @param colorEdges The colorEdges to set.
	 */
	public void setColorEdges(Color colorEdges) {
		this.colorEdges = colorEdges;
	}


	/**
	 * The method return the colorPoints.
	 * @return Returns The colorPoints.
	 */
	public Color getColorPoints() {
		return colorPoints;
	}


	/**
	 * The method set the field colorPoints from the parameter colorPoints.
	 * @param colorPoints The colorPoints to set.
	 */
	public void setColorPoints(Color colorPoints) {
		this.colorPoints = colorPoints;
	}

	/**
	 * The method return the xScale.
	 * @return Returns The xScale.
	 */
	public double getXScale() {
		return xScale;
	}


	/**
	 * The method set the field xScale from the parameter scale.
	 * @param scale The xScale to set.
	 */
	public void setXScale(double scale) {
		xScale = scale;
	}


	/**
	 * The method return the yScale.
	 * @return Returns The yScale.
	 */
	public double getYScale() {
		return yScale;
	}


	/**
	 * The method set the field yScale from the parameter scale.
	 * @param scale The yScale to set.
	 */
	public void setYScale(double scale) {
		yScale = scale;
	}


	public String getZKey() {
		return zKey;
	}


	public void setZKey(String key) {
		zKey = key;
	}


	public double getZScale() {
		return zScale;
	}


	public void setZScale(double scale) {
		zScale = scale;
	}

	public boolean isMeshOnOff() {
		return meshOnOff;
	}

	public void setMeshOnOff(boolean meshOnOff) {
		this.meshOnOff = meshOnOff;
	}

    
    
   
}